<template>
    <div class="header" v-if="initHeader!==undefined">
          <div class="title" v-bind:text="headerData">
            {{initHeader.title}}
          </div>
          <div class="header-nav">
             <!-- <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>-->
              <div class="user-ctrl">
                {{initHeader.userCtrl.userData.userName}}
                <a href="#">退出</a>
              </div>
          </div>
    </div>
</template>

<script>
    export default {
        name: "Header",
        props:{
          initHeader:Object
        },
        data(){
          return{
            headerData:{}
          }
        },

        created(){
        }
    }
</script>

<style scoped>

</style>
